package cn.iocoder.yudao.module.system.controller.admin.mini.orderInfo.logistics.convert.logistics;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.system.controller.admin.mini.orderInfo.logistics.controller.admin.logistics.vo.LogisticsCreateReqVO;
import cn.iocoder.yudao.module.system.controller.admin.mini.orderInfo.logistics.controller.admin.logistics.vo.LogisticsExcelVO;
import cn.iocoder.yudao.module.system.controller.admin.mini.orderInfo.logistics.controller.admin.logistics.vo.LogisticsRespVO;
import cn.iocoder.yudao.module.system.controller.admin.mini.orderInfo.logistics.controller.admin.logistics.vo.LogisticsUpdateReqVO;
import cn.iocoder.yudao.module.system.controller.admin.mini.orderInfo.logistics.dal.dataobject.logistics.LogisticsDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 小程序-物流公司 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface LogisticsConvert {

    LogisticsConvert INSTANCE = Mappers.getMapper(LogisticsConvert.class);

    LogisticsDO convert(LogisticsCreateReqVO bean);

    LogisticsDO convert(LogisticsUpdateReqVO bean);

    LogisticsRespVO convert(LogisticsDO bean);

    List<LogisticsRespVO> convertList(List<LogisticsDO> list);

    PageResult<LogisticsRespVO> convertPage(PageResult<LogisticsDO> page);

    List<LogisticsExcelVO> convertList02(List<LogisticsDO> list);

}
